# $Id: PKGBUILD 82261 2013-01-13 19:27:19Z jelle $
# Maintainer:
# Contributor: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=openttd-opengfx
pkgver=0.4.6.1
pkgrel=1
pkgdesc='A free graphics set for openttd'
arch=('any')
url='http://dev.openttdcoop.org/projects/opengfx'
license=('GPL')
source=("http://bundles.openttdcoop.org/opengfx/releases/${pkgver}/opengfx-${pkgver}.zip")
md5sums=('74178b3ebac7a030ad8a46426f6fcd07')

package() {
    cd "${srcdir}"/opengfx-${pkgver}
    install -d "${pkgdir}"/usr/share/openttd/data   
    install -m644 *.grf "${pkgdir}"/usr/share/openttd/data
    install -m644 *.obg "${pkgdir}"/usr/share/openttd/data
}
